TextStyleCustomization

data class TextStyleCustomization(@ColorRes() textColor: Int?, @FontRes() textFont: Int?) : LabelCustomization

Use this class to customize the visual style of the text on the challenge screen. There are separate TextStyleCustomization classes for the challenge information header, the challenge information text, the label for the challenge entry form and the label for the whitelist selection.

Parameters

textColor

Text colour resource reference.

textFont

Text font resource reference.

Constructors

TextStyleCustomization
Link copied to clipboard
fun TextStyleCustomization(@ColorRes() textColor: Int? = null, @FontRes() textFont: Int? = null)

Properties

textColor
Link copied to clipboard
open override var textColor: Int? = null
Text colour resource reference.
textFont
Link copied to clipboard
open override var textFont: Int? = null
Text font resource reference.